<template>
  <div class="c2cTrade">
    <Other-Header index="1" bgColor="#5741d9"></Other-Header>
    <div class="mainSection applyMerchant">
      <div class="inner">
        <div class="advertising">
          <div class="advertBox">
            <i></i>
            <h3 class="advertTitle">{{$t('l.merchant_1')}}</h3>
          </div>
          <div class="privilege">
            <p class="privilegeTitle">{{$t('l.merchant_2')}}</p>
            <div class="privilegeBox">
              <div class="privilege-item">
                <i class="icon1"></i>
                <p class="label">{{$t('l.merchant_3')}}</p>
                <p class="info">{{$t('l.merchant_5')}}</p>
              </div>
              <div class="privilege-item">
                <i class="icon2"></i>
                <p class="label">{{$t('l.merchant_4')}}</p>
                <p class="info">{{$t('l.merchant_6')}}</p>
              </div>
            </div>
          </div>
        </div>
        <!-- 商家资格申请步骤 -->
        <div class="applicationStep">
          <p class="applicationStepTitle">{{$t('l.merchant_7')}}</p>
          <div class>
            <div class="applicationStepList">
              <div class="item">
                <i class="step-icon icon1"></i>
                <h5 class="step1">{{$t('l.merchant_8')}}</h5>
                <span class="step-info">{{$t('l.merchant_9')}}</span>
                <p class="step-con">{{$t('l.merchant_10')}}</p>
              </div>
              <div class="item">
                <i class="step-icon icon2"></i>
                <h5 class="step2">{{$t('l.merchant_11')}}</h5>
                <span class="step-info">{{$t('l.merchant_12')}}</span>
                <p class="step-con">
                  {{$t('l.merchant_13')}}
                </p>
              </div>
              <div class="item">
                <i class="step-icon icon3"></i>
                <h5 class="step3">{{$t('l.merchant_14')}}</h5>
                <span class="step-info">{{$t('l.merchant_15')}}</span>
                <p class="step-con">{{$t('l.merchant_16')}}</p>
              </div>
              <div class="item">
                <i class="step-icon icon4"></i>
                <h5 class="step4">{{$t('l.merchant_17')}}</h5>
                <span class="step-info">{{$t('l.merchant_18')}}</span>
                <p class="step-con">{{$t('l.merchant_19')}}</p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <Footer></Footer>
  </div>
</template>
<script>
import OtherHeader from "@/components/otherHeader";
import Footer from "@/components/footer";
export default {
  components: {
    OtherHeader,
    Footer
  },
  data() {
    return {};
  }
};
</script>
<style lang="less" scoped>
// c2c common style
.c2cTrade {
  background-color: #f7f8fc;
  position: relative;
  min-height: 100%;
  width: 100%;
  padding-top: 100px;
  
  .mainSection {
    width: 1200px;
    margin: 20px auto 0;
    height: 990px;
    padding-bottom: 160px;
    box-sizing: border-box;
    > .inner {
      background: #fff;
      padding: 40px;
      height: 100%;
      box-sizing: border-box;
    }
  }
}

.el-dialog {
  .el-dialog__header {
    color: #33385e;
    padding-left: 23px;
    background: #f2f6fa;
    .el-dialog__title {
      font-size: 16px;
      line-height: 24px;
      color: #33385e;
    }
  }
  .el-dialog__body {
    color: #33385e;
    padding: 57px 67px 40px;
    text-align: left;
    font-size: 14px;
    line-height: 28px;
  }
  .el-dialog__footer {
    text-align: center;
    padding: 0 0 44px;
    .el-button {
      width: 318px;
      height: 40px;
      margin: 0;
    }
    .el-button--primary {
      background: linear-gradient(90deg,#3360FF 0%,#04A6FE 100%);
      border-radius: 4px;
    }
  }
}

.advertBox {
  position: relative;
}
.advertTitle {
  display: inline-block;
  font-size: 18px;
  font-familyA: PingFangSC-Semibold;
  font-weight: 600;
  color: rgba(51, 56, 94, 1);
  line-height: 25px;
  margin-left: 20px;
  vertical-align: top;
}
.advertBox i {
  position: absolute;
  width: 3px;
  height: 16px;
  background: #2D8DFE;
  border-radius: 2px;
  color: #33385e;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
.privilege {
  text-align: center;
}
.privilegeTitle {
  padding: 30px 0 40px;
  text-align: center;
  font-size: 16px;
  font-familyA: PingFangSC-Medium;
  font-weight: 500;
  color: rgba(51, 56, 94, 1);
  line-height: 22px;
}
.privilegeBox {
  text-align: center;
  box-sizing: border-box;
  font-size: 0;
  margin-bottom: 60px;
}
.privilege-item {
  display: inline-block;
  width: 350px;
  height: 120px;
  background: linear-gradient(90deg,#3360FF 0%,#04A6FE 100%);
  border-radius: 8px;
  text-align: left;
  overflow: hidden;
  margin-right: 20px;
  padding: 35px 10px 35px 23px;
  box-sizing: border-box;
}
.privilege-item .label {
  font-size: 18px;
  opacity: 0.9;
  font-familyA: PingFangSC-Medium;
  font-weight: 500;
  color: #fff;
  margin: 3px 0;
}
.privilege-item .info {
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
  font-familyA: PingFangSC-Regular;
  font-weight: 400;
  line-height: 20px;
}
.privilege-item i {
  float: left;
  width: 50px;
  height: 50px;
  margin-right: 5px;
}
.privilege-item .icon1 {
  background: url(../../assets/images/privilege1.png) no-repeat left top;
}
.privilege-item .icon2 {
  background: url(../../assets/images/privilege2.png) no-repeat left top;
}
/* 商家资格申请步骤 */
.applicationStep {
  text-align: center;
}
.applicationStepTitle {
  font-size: 16px;
  font-familyA: PingFangSC-Medium;
  font-weight: 500;
  color: rgba(51, 56, 94, 1);
  line-height: 22px;
  margin-bottom: 59px;
}
.applicationStepList {
  margin: 0 -20px 98px;
  font-size: 0;
}
.applicationStepList .item {
  display: inline-block;
  vertical-align: top;
  position: relative;
  width: 220px;
  height: 230px;
  box-shadow: 0px 7px 9px 0px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  margin-right: 40px;
  text-align: center;
}
.applicationStepList .item:nth-child(1) {
  background: linear-gradient(
    180deg,
    rgba(255, 248, 242, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}
.applicationStepList .item:nth-child(2) {
  background: linear-gradient(
    180deg,
    rgba(242, 249, 255, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}
.applicationStepList .item:nth-child(3) {
  background: linear-gradient(
    180deg,
    rgba(255, 242, 242, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}
.applicationStepList .item:nth-child(4) {
  background: linear-gradient(
    180deg,
    rgba(242, 254, 255, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}
.applicationStepList .step-icon {
  display: inline-block;
  width: 82px;
  height: 82px;
  margin-top: -34px;
}
.step-icon.icon1 {
  background: url(../../assets/images/application1.png) no-repeat center top;
}
.step-icon.icon2 {
  background: url(../../assets/images/application2.png) no-repeat center top;
}
.step-icon.icon3 {
  background: url(../../assets/images/application3.png) no-repeat center top;
}
.step-icon.icon4 {
  background: url(../../assets/images/application4.png) no-repeat center top;
}
.applicationStepList h5 {
  font-size: 16px;
  font-familyA: PingFangSC-Medium;
  font-weight: 500;
  line-height: 20px;
}
.applicationStepList .step1 {
  color: rgba(247, 137, 0, 1);
}
.applicationStepList .step2 {
  color: rgba(55, 145, 243, 1);
}
.applicationStepList .step3 {
  color: rgba(255, 108, 93, 1);
}
.applicationStepList .step4 {
  color: rgba(66, 159, 221, 1);
}
.step-info {
  display: inline-block;
  font-size: 16px;
  font-familyA: PingFangSC-Regular;
  font-weight: 400;
  color: rgba(51, 56, 94, 1);
  line-height: 20px;
  margin: 6px 0 18px;
}
.step-con {
  font-size: 12px;
  font-familyA: Roboto-Regular;
  font-weight: 400;
  color: rgba(51, 56, 94, 1);
  line-height: 20px;
  text-align: left;
  margin: 0 18px;
}
.applicationStepList .step-con span {
  color: #2D8DFE;
  font-size: 12px;
}
</style>